<?php
include_once('./common.php');

//获取方法
$ac = empty($_GET['ac'])?'':$_GET['ac'];
$backurl = "backurl=".(empty($_GET['backurl'])?'index.php':rawurlencode($_GET['backurl']));
//自定义登录//
//if($ac == $_SCONFIG['login_action']) {//
//	$ac = 'login';//
//}//
////if($ac == $_SCONFIG['register_action']) {//
//	$ac = 'register';//
//} //允许的方法$acs = array('login', 'register', 'lostpasswd', 'swfupload', 'inputpwd','download',
	'ajax', 'seccode', 'sendmail', 'stat', 'emailcheck','mobileset','report');
if(empty($ac) || !in_array($ac, $acs)) {
	showmessage('enter_the_space', 'index.php', 0);
}
include_once(S_ROOT.'./source/do_'.$ac.'.php');?>